MindFusion.Wpf Pack Programmer's Guide
ReplaceItemCommand(T) Constructor
See Also
 





Initializes a new instance of the ReplaceItemCommand class.

Namespace: MindFusion.Spreadsheet.Wpf
Assembly: MindFusion.Spreadsheet.Wpf

 Syntax

C#  Copy Code

public ReplaceItemCommand<T> (
    Workbook workbook,
    UndoableCollection<T> collection,
    int index,
    T item,
    T newItem
)

Visual Basic  Copy Code

Public New (Of T) ( _
    workbook As Workbook, _
    collection As UndoableCollection(Of T), _
    index As Integer, _
    item As T, _
    newItem As T _
)

 Parameters

workbook

The Workbook modified by this command.

collection

The collection in which the item is replaced.

index

The zero-based index of the item within the collection.

item

The item that should be replaced in the collection.

newItem

The new item at the specified index.

 See Also

ReplaceItemCommand(T) Class
MindFusion.Spreadsheet.Wpf Namespace